package com.wj.console;

import com.wj.console.rabbit.message.CrawlerSocialFundMessage;
import com.wj.console.rpc.RpcRequest;
import com.wj.console.rpc.RpcResponse;

/**
 * 爬取社保公积金数据服务接口
 */
public interface ICrawlerService {
	/**
	 * 爬取社保数据
	 * @param request 传递参数无需传递ID
	 * @return
	 */
	RpcResponse<CrawlerSocialFundMessage> querySocial(RpcRequest<CrawlerSocialFundMessage> request);
	
	/**
	 * 爬取公积金数据
	 * @param request 传递参数无需传递ID
	 * @return
	 */
	RpcResponse<CrawlerSocialFundMessage> queryFund(RpcRequest<CrawlerSocialFundMessage> request);
}
